//
//  NavVC.m
//  WatermarkCamera
//
//  Created by AxcLogo on 4/7/2024.
//

#import "NavVC.h"

@implementation NavVC


-(instancetype)initWithRootViewController:(UIViewController *)rootViewController {
    [self config];
    return [super initWithRootViewController:rootViewController];;
}

-(void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear: animated];
    // 水印相机全局使用自定义导航，隐藏系统导航
    self.navigationBar.hidden = YES;
    
}

- (UIStatusBarStyle)preferredStatusBarStyle {
    if (self.topViewController != nil) {
        
        
        
        return self.topViewController.preferredStatusBarStyle;
    }else {
        
        
        
        return UIStatusBarStyleDefault;
    }
}

- (void)config {
    
}

@end
